package cn.itcast.mapper;

import cn.itcast.pojo.Member;
import cn.itcast.pojo.User;

import java.util.List;
import java.util.Map;


public interface MemberMapper {
    public List<Member> findAll();
    public List<Member> selectByCondition(String queryString);
    public void add(Map map);
    public void deleteById(int id);
    public Member findById(Integer id);
    public Member findByTelephone(String telephone);
    public void edit(Member member);
    public Integer findMemberCountBeforeDate(String date);
    public Integer findMemberCountByDate(String date);
    public Integer findMemberCountAfterDate(String date);
    public Integer findMemberTotalCount();
    List<Map<String,Object>> findEvery();
    List<User> getAddress();

    public List<Integer> findMemberCountBeforeDate_2(List<String> list);

    void addOrder(Map map);

    Integer getMaxId();

}
